<template>
  <e-search placeholder="请输入搜索内容" :disabled="true"/>
  <van-tabs v-model:active="active" shrink animated swipeable border>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
    <van-tab title="标签"></van-tab>
  </van-tabs>
  <div style="padding: 3vh 3vw">
    <router-view/>
  </div>
</template>

<script lang="ts">
import {defineComponent, ref} from "vue";
import {useBaseStore} from "@/store";
import ESearch from "@/layouts/base/components/e-search.vue";

export default defineComponent({
  components: {ESearch},
  setup() {
    const active = ref<number>(0)
    const baseStore = useBaseStore()

    return {
      active,
      baseStore
    }
  }
})

</script>

<style scoped>

</style>
